package com.cscec5b.inspection.dto;

import jakarta.validation.constraints.NotBlank;

public class TokenDtos {
    public static class TokenRequest {
        @NotBlank public String grant_type;
        @NotBlank public String client_id;
        @NotBlank public String client_secret;
        public String scope;
    }
    public static class TokenResponse {
        public String access_token;
        public String token_type = "Bearer";
        public long expires_in;
        public TokenResponse(String token, long ttl) { this.access_token = token; this.expires_in = ttl; }
    }
}
